package com.xyoto.community.vo;

import com.xyoto.community.utils.PictureUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author coderFu
 * @create 2021/11/15
 */
@Data
@ApiModel("广场顶部模块展示列表")
public class SquareModuleConfigVO {

    @ApiModelProperty("自增id")
    private Integer id;

    @ApiModelProperty("模块名称")
    private String moduleName;

    @ApiModelProperty("模块图片")
    private String moduleImg;

    @ApiModelProperty("模块跳转页面链接")
    private String link;

//    @ApiModelProperty("模块当前状态 1、正常 2、不显示 3、点击不跳转，提示信息")
//    private Integer status;

    @ApiModelProperty("提示信息")
    private String message;

    public void setModuleImg(String moduleImg) {
        this.moduleImg = PictureUtils.addPrefix(moduleImg);
    }
}
